﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Unleashed.AutoUpdate.IO.Configuration
{
    [Serializable]
    [XmlRoot("file")]
    internal class FileConfigSection
    {
        public enum FileDestinationType
        {
            Path,
            Temp,
            GAC
        }

        [XmlAttribute("fileName")]
        public string FileName { get; private set; }

        [XmlAttribute("checksum")]
        public string CheckSum { get; private set; }

        [XmlAttribute("destinationType")]
        public FileDestinationType DestinationType { get; private set; }
    }
}